package com.example.domain;

import org.springframework.http.converter.json.GsonBuilderUtils;

import java.lang.reflect.Field;

public class Test
{

    public static void main(String[] args) throws ClassNotFoundException
    {
        Class<?> aClass = Class.forName("com.example.domain.Student");
        System.out.println(aClass);
        System.out.println(aClass.hashCode());

        Field[] fields = aClass.getFields();
        Field[] fields1 = aClass.getDeclaredFields();
        System.out.println(fields.length);
        for (Field f: fields1
             )
        {
            System.out.println(f);
        }
    }
}
